<#assign ctx=request.contextPath />
<!DOCTYPE html>
<html>
	<head>
		<meta charset=utf-8>
		<meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
		<meta name=format-detection content="telephone=no, email=no">
		<meta name=apple-mobile-web-app-capable content=yes>
		<title>${wxApplication.name?if_exists}</title>
		<script>
		    window.configur = {
		      WXUrl: '${ctx}',
		      ImgUrl: '/assets/manager',
		      ServerUrl: '${wxApplication.address?if_exists}',
		      appKey: '${appKey?if_exists}',
		      WXAppId: '${wxAccount.wxappId?if_exists}',
		      acKey: '${wxAccount.ack?if_exists}'
		    }
		    // 因为微信后台管理配置的只有域名没有协议，所以这里要判断一下
		    ServerUrl = window.configur.ServerUrl;
		    ServerUrl = ((ServerUrl.indexOf("http://") > 0) || (ServerUrl.indexOf("https://") > 0)) ? ServerUrl : ('https://' + ServerUrl);
		    window.configur.ServerUrl = ServerUrl;
		</script>
		<link href="${ctx}/assets/manager/static/css/app.6e69fa589330ea3d5b8d74f0d7eefdd1.css" rel="stylesheet">
	</head>
	<body>
		<div id="app"></div>
        <script type=text/javascript src="${ctx}/assets/manager/static/js/manifest.b525f5a3cb8ef6d05a75.js"></script>
        <script type=text/javascript src="${ctx}/assets/manager/static/js/vendor.e720cde9a6cf43c6f1b2.js"></script>
        <script type=text/javascript src="${ctx}/assets/manager/static/js/app.ed6fbd6fee1aed7e26ac.js"></script>
	</body>
</html>